package com.itheima.dto;

import javax.persistence.Id;

/**
 * @author: 吴海
 * @data: 2021/10/30
 * @description: 封装添加用户信息
 */
public class UserAddDTO {
    @Id
    private Integer id;
    private String username;
    private String sex;
    private String phone;
    private String email;
    private String classify;
    private String remarks;

    public UserAddDTO() {
    }

    public UserAddDTO(String username, String sex, String phone, String email, String classify, String remarks) {
        this.username = username;
        this.sex = sex;
        this.phone = phone;
        this.email = email;
        this.classify = classify;
        this.remarks = remarks;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "UserAddDTO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", classify='" + classify + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
